<?php
namespace app\run\model;

use think\Model;
use think\Db;
class AgentOrder extends Model{
    public static function agentData_model(){
        $res = Db::name('user') 
            ->where('pid',0)
            ->select(); 
       
        return $res;
    }
}